home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc20
/
gemfsc20.lzh
/
GEMFBIND
/
VSFUDPAT.S
< prev
next >
Wrap
Text File
|
1993-03-16
|
1KB
|
38 lines
;*========================================================================
;* VDIFAST Public Domain VDI bindings.
;*========================================================================
;*------------------------------------------------------------------------
;* Set user-defined fill pattern.
;*------------------------------------------------------------------------
globl _vsf_udpat
_vsf_udpat:
; .cargs #8,handle.w,ppat.l,planes.w
handle = 8
ppat = 10
planes = 14
link a6,#0
move.w planes(a6),d0 ;* Length of intin array is number
lsl.w #4,d0 ;* of planes * 16.
; VContrl #112,,,d0
move.w handle(a6),-(sp) ; contrl[6]
clr.l -(sp) ; contrl[5,4]
move.w d0,-(sp) ; contrl[3]
subq.l #2,sp ; contrl[2]
clr.w -(sp) ; contrl[1]
move.w #112,-(sp) ; contrl[0]
lea -12(sp),sp ;* -> ptsout, intout, ptsin
move.l ppat(a6),-(sp) ;* -> intin
pea 16(sp) ;* -> contrl
jmp vdicall
end